package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备应用可用时间对象 yx_device_app_use_time
 * 
 * @author lingyu
 * @date 2024-03-12
 */
public class YxDeviceAppUseTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 周几 */
    @Excel(name = "周几")
    private Integer dayOfWeek;

    /** 可用时间段id */
    @Excel(name = "可用时间段id")
    private Long timeId;

    /** 设备应用id */
    @Excel(name = "设备应用id")
    private Long deviceAppId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDayOfWeek(Integer dayOfWeek)
    {
        this.dayOfWeek = dayOfWeek;
    }

    public Integer getDayOfWeek()
    {
        return dayOfWeek;
    }
    public void setTimeId(Long timeId) 
    {
        this.timeId = timeId;
    }

    public Long getTimeId() 
    {
        return timeId;
    }
    public void setDeviceAppId(Long deviceAppId) 
    {
        this.deviceAppId = deviceAppId;
    }

    public Long getDeviceAppId() 
    {
        return deviceAppId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dayOfWeek", getDayOfWeek())
            .append("timeId", getTimeId())
            .append("deviceAppId", getDeviceAppId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
